package com.zecan.blog.common.status;

import com.zecan.blog.common.status.code.CommentCode;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @ClassName CommentStatus
 * @Description
 * @date 2022/11/11 16:00
 * @Version 1.0
 */
@AllArgsConstructor
@Getter
public enum CommentStatus {

    COMMENT_SEND_SUCCESS(CommentCode.COMMENT_SEND_SUCCESS,"回复成功"),
    COMMENT_DEL_SUCCESS(CommentCode.COMMENT_SEND_SUCCESS,"删除成功"),
    COMMENT_IS_EXIST(CommentCode.COMMENT_IS_EXIST,"当前评论不存在"),
    COMMENT_SEND_ERR(CommentCode.COMMENT_SEND_ERR,"发送评论时发生异常"),
    COMMENT_UPDATE_STATUS_ERR(CommentCode.COMMENT_UPDATE_STATUS_ERR,"删除评论时发生异常");

    int code;
    String msg;
}
